home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch05 / 05fig11.wrl < prev   
Text File  |  1996-09-23  |  920b  |  54 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.     # Ground
  8.         Shape {
  9.             appearance DEF White Appearance {
  10.                 material Material { }
  11.             }
  12.             geometry Box {
  13.                 size 25.0 0.1 25.0
  14.             }
  15.         },
  16.     # First archway
  17.     # Left Column
  18.         DEF LeftColumn Transform {
  19.             translation -2.0 3.0 0.0
  20.             children DEF Column Shape {
  21.                 appearance USE White
  22.                 geometry Cylinder {
  23.                     radius 0.3
  24.                     height 6.0
  25.                 }
  26.             }
  27.         },
  28.     # Right Column
  29.         DEF RightColumn Transform {
  30.             translation 2.0 3.0 0.0
  31.             children USE Column
  32.         },
  33.     # Archway span
  34.         DEF ArchwaySpan Transform {
  35.             translation 0.0 6.05 0.0
  36.             children Shape {
  37.                 appearance USE White
  38.                 geometry Box {
  39.                     size 4.6 0.4 0.6
  40.                 }
  41.             }
  42.         },
  43.     # Second archway
  44.         Transform {
  45.             translation 0.0 0.0 -2.0
  46.             children [
  47.                 USE LeftColumn,
  48.                 USE RightColumn,
  49.                 USE ArchwaySpan
  50.             ]
  51.         }
  52.     ]
  53. }
  54.